home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / qenter.z / qenter
Encoding:
Text File  |  2002-10-03  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. qqqqeeeennnntttteeeerrrr((((3333GGGG))))                                                          qqqqeeeennnntttteeeerrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      qqqqeeeennnntttteeeerrrr - creates an event queue entry
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd qqqqeeeennnntttteeeerrrr((((ddddeeeevvvv,,,, vvvvaaaallll))))
  13.      DDDDeeeevvvviiiicccceeee ddddeeeevvvv;;;;
  14.      sssshhhhoooorrrrtttt vvvvaaaallll;;;;
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _d_e_v   expects the device number to be entered into the event queue.
  18.  
  19.      _v_a_l   expects the value to be entered into the event queue.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      qqqqeeeennnntttteeeerrrr takes a device number and a value and enters them into the event
  23.      queue of the calling process.  There is no way to distinguish user-
  24.      generated and system-generated events except by device number.
  25.  
  26.      The 16-bit device number name space is partitioned as follows:
  27.  
  28.           0x0000 -> 0x0FFF     Devices defined by SGI
  29.               0x0001 -> 0x00FF     Buttons
  30.               0x0100 -> 0x01FF     Valuators
  31.               0x0200 -> 0x02FF     Pseudo devices
  32.               0x0300 -> 0x0EFF     Reserved
  33.               0x0F00 -> 0x0FFF     Additional buttons
  34.  
  35.           0x1000 -> 0x7FFF     Devices defined by users
  36.               0x1000 -> 0x2FFF     Buttons
  37.               0x3000 -> 0x3FFF     Valuators
  38.               0x4000 -> 0x7FFF     Pseudo devices
  39.  
  40.           0x8000 -> 0xFFFF     Can not be used
  41.  
  42. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.      qcontrol, qread, qreset, qtest
  44.  
  45. NNNNOOOOTTTTEEEE
  46.      This routine is available only in immediate mode.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.